WebGenie™ Software
Home Products Order Download Contact

[HelpHome | BuildCatalog | CartOptions | CreateCGI | AdminTools | SinglePage | SeparatePages | DynamicPages | OwnPages]

WebGenie Shopping Cart

Online Help and Manual - Editing Templates

  • How to Customize Your CGI-generated Pages:

All pages displayed by the CGI are created via template HTMLs. You can freely edit these files to suit your site's look and feel. All that has to be remembered is to keep the few tags (specified below) intact.

The following files are used for each specific purpose. The default files will be in the program directory. They can be edited and placed in the same directory as the CGI on your webserver.

  • cart.html

To show the cart contents, example given below, when adding an item to the shopping cart or when the "Show Cart" button is pressed. 

You may change the text in bold red in the following lines with the actual values:

<body background="$bodyBgImg" bgColor="$bodyBg"><p align="center">&nbsp;&nbsp;&nbsp; <img src="$companyLogo" Alt="$Owner_name" Border="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>

The following comment lines must be left intact, and on a line by themselves, in the edited file. You can move or rearrange these comment lines. Deleting one or more of these comment lines may interfere with the cart operation.

<!--CartTableHeadings-->

<!--CartContents-->

<!--CartSummary-->

<!--CartControlsChange-->

<!--CartControlsPrepareOrder-->

<!--CartControlsEmptyCart-->

The following strings (case and space-sensitive) determine where to place the cart elements. They can be rearranged, but must be between the section demarcated by '<!--CartContents-->'

QtyInputBox         -  Shows the Quantity input box

UnitPrice              -  Shows the Unit price

TotalPrice             -  Shows the Total Price

CatalogNumber     -  Shows the Catalog Number

ProductName        -  Shows the Product Name

GrandTotal            -  Price not including tax and shipping

TotalTax                -  Tax, calculated on GrandTotal. 

TotalDelivery         -  Shipping Charge

TotalPayable         -  Total Payable.

One or more of the above strings can be deleted if you wish to suppress any info. e.g. CatalogNumber may be deleted if your customer needs not see the catalog number, TotalTax may be deleted if no tax applies.

  • prep_order.html

Determines the look of the payment desk. Same rules apply as in the case of cart.html

The basic controls for the customer, delivery and billing details are included. You can add/delete/modify any control freely. No restrictions apply.

Include the character, '#' in front of any form element name if you do not wish the value of that field shown on the acknowledgment page. For example, the following line retrieves and mails the card number but will not show the card number on the acknowledgment page:

<input type="text" name="#Card Number" size="20">

  • post_order_page.html

This file determines the look and feel of the acknowledgment page. Same rules apply as before. The following comment line should not be deleted...

<!--OrderDetails-->

  • ups_delivery.html

If using the UPS delivery method you may want to edit this file.

  • message_page.html

To display error messages.

 

Copyright © 2000 WebGenie Software Pty Ltd. All rights reserved.